package main

import "fmt"

func main() {
	ch := make(chan int, 1)
	close(ch)
	x, ok := <-ch
	if ok == false {
		fmt.Println("已关闭")
	}
}
